<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8"/>
		<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
		<meta content="width=320, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
		<meta content="no-cache,no-siteapp" http-equiv="Cache-Control"/>
		<meta content="webkit" name="renderer"/>
		<meta content="JointForce-Mobile" name="description"/>
		<meta content="no" name="apple-mobile-web-app-capable"/>
		<meta content="no" name="mobile-web-app-capable"/>
		<meta content="telephone=no" name="format-detection"/>
		<meta content="no-cache" http-equiv="pragma"/>

		<title>代码质量健康度</title>
		<link rel="stylesheet" type="text/css" href="jetchat://www/css/bootstrap/bootstrap.css"/>
		<script type="text/javascript" src="../../js/extends/jquery/jquery-1.10.2.js"></script>

		<style type="text/css">
			body{
				background-color: #ffffff;
				padding: 0px;
				margin:auto;
			}
			img{margin:auto;clear:both;}
			.ccs_banner{width:100%;text-align:center;margin:auto;clear:both;}
			.ccs_list{display:block;margin:auto;clear:both;width:100%;text-align:center;margin-bottom:30px}
			.ccs_title{margin:auto;clear:both;font-size:18pt;width:100%;text-align:center;height:80px;line-height:80px; font-family: "Microsoft YaHei" ! important;}
			.ccs_text{margin:auto;clear:both;font-size:12pt;width:100%;text-align:left;line-height:30px;}
			.css_span{padding: 0 5px;margin: 0 5px 0 0;}
			.css_color_block{height:10px;width:20px;line-height:35px;}
			.css_line{margin-top:10px}
			.css_descript{display: block; float: left; padding-left: 10px; text-align: left; vertical-align: top; width: 300px; word-break: break-all; word-wrap: break-word;}
			.span_warn{color:#ffbc00;}
		</style>
	</head>
	<body>

		<!--body-->
		<div class="ccs_banner">
			<img src="../../images/pts/ccs_bg2.jpg" border=0>
		</div>

		<div class="ccs_list">
			<h1 class="ccs_title">操作简单，一键检查</h1>
			<img src="../../images/pts/ccs0.gif" border=0>
		</div>
		<div class="ccs_list ">
			<h1 class="ccs_title">交付质量一目了然</h1>
			<img src="../../images/pts/ccs1.gif" border=0>
		</div>
		<div class="ccs_list">
			<h1 class="ccs_title">专业的评估维度</h1>
			<img src="../../images/pts/ccs2.gif" border=0>
<!--			
			<div style="font-size: 25px">
				<img src="../../images/pts/praise1.jpg" border=0 style="height: 25px">
				总体项目代码质量风险可控:
			</div>
			<div>
				<div>
				<span style="background:#3dc532;" class="css_span css_color_block">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="css_span">80-100分</span><span class="css_span" style="margin-right: 40px">风险较低</span>
				<span style="background:#01bceb;" class="css_span css_color_block">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="css_span">70-79分&nbsp;</span><span class="css_span">有风险&nbsp;&nbsp;</span>
				</div>
				<div>
				<span style="background:#ffbc00;" class="css_span css_color_block">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="css_span">60-69分&nbsp;&nbsp;</span><span class="css_span" style="margin-right: 40px">风险较高</span>
				<span style="background:#f37800;" class="css_span css_color_block">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="css_span">0-59分&nbsp;&nbsp;</span><span class="css_span">不可接受</span>
				</div>
			</div>
			
			<div style="margin-top:20px;font-size: 25px">
				<img src="../../images/pts/praise2.jpg" border=0 style="height: 25px">
				快速定位代码问题所在:
			</div>
			<div style="margin:0 auto;width: 500px;">
				<div class="css_line" style="float: left;">
					<div style="float: left;"><img src="../../images/pts/praise2_compile.jpg" border=0></div>
					<div class="css_span css_descript" >
					是项目能正常运行的基础,主要考察代码是否可以正常编译,以及编译过程中是否有<span class="span_warn">错误</span>、<span class="span_warn">警告</span>、<span class="span_warn">提示</span>信息。
					</div>
				</div>
				<div class="css_line" style="float: left;">
					<div style="float: left;"><img src="../../images/pts/praise2_rule.jpg" border=0></div>
					<div class="css_span css_descript">
					是代码可读性和正确性的基础,主要考察代码的<span class="span_warn">注释率</span>,<span class="span_warn">命名规范</span>要求。
					</div>
				</div>
				<div class="css_line" style="float: left;">
					<div style="float: left;"><img src="../../images/pts/praise2_rely.jpg" border=0></div>
					<div class="css_span css_descript">
					是系统稳定运行的保障,主要考察代码在<span class="span_warn">指针使用</span>,<span class="span_warn">资源释放</span>等常见易犯错误。
					</div>
				</div>
				<div class="css_line" style="float: left;">
					<div style="float: left;"><img src="../../images/pts/praise2_maintain.jpg" border=0></div>
					<div class="css_span css_descript">
					主要考察代码的<span class="span_warn">复杂度</span>和<span class="span_warn">重复度</span>。&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					</div>
				</div>
			</div>
-->			
		</div>
		<div class="ccs_list">
			<h1 class="ccs_title">零技术门槛，问题快速解决</h1>
			<img src="../../images/pts/ccs3.jpg" border=0>
		</div>
	<script type="text/javascript">
	$(function(){
		var imglist =document.getElementsByTagName("img");
		//安卓4.0+等高版本不支持window.screen.width，安卓2.3.3系统支持
		var _width;
		doDraw();

		window.onresize = function(){
			//捕捉屏幕窗口变化，始终保证图片根据屏幕宽度合理显示
			doDraw();
		}

		function doDraw(){
			_width = window.innerWidth;
			for( var i = 0, len = imglist.length; i < len; i++){
				DrawImage(imglist[i],_width);
			}
		}

		function DrawImage(ImgD,_width){
			var image=new Image(); 
			image.src=ImgD.src; 
			image.onload = function(){
				//限制，只对宽高都大于30的图片做显示处理，换成你想要的宽度。
				if(image.width>30 && image.height>30){ 
					if(image.width>_width){
						ImgD.width=_width; 
						ImgD.height=(image.height*_width)/image.width; 
					}else{ 
						ImgD.width=image.width; 
						ImgD.height=image.height; 
					} 
				}    
			}
		}
		
		var _hmt = _hmt || [];	   
		var hm = document.createElement("script");
		hm.src = "//hm.baidu.com/hm.js?cc7c68ca6e0732df36608aed8e72564c";
		var s = document.getElementsByTagName("script")[0]; 
		s.parentNode.insertBefore(hm, s);		
	})
</script>
</body>
</html>

